package com.hzdl.springbootdemo.service.Impl;

import com.hzdl.springbootdemo.bean.Categoryinfo;
import com.hzdl.springbootdemo.mapper.CategoryInfoMapper;
import com.hzdl.springbootdemo.service.CategoryInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author:Asus
 * @date:2020/2/21
 * @description:
 */
@Service
public class CategoryInfoServiceImpl implements CategoryInfoService {

    @Resource
    private CategoryInfoMapper categoryInfoMapper;
    @Override
    public List<Categoryinfo> findAll() {
        return categoryInfoMapper.findAll();
    }
}
